package dml.users.proc;

import dml.users.aggr.Session;
import dml.users.aggr.User;

public class LoginOrRegisterResult<USR extends User> {
	private Session finishedSession;
	private Session newSession;
	private USR user;
	private boolean createNewUser;

	public Session getFinishedSession() {
		return finishedSession;
	}

	public void setFinishedSession(Session finishedSession) {
		this.finishedSession = finishedSession;
	}

	public Session getNewSession() {
		return newSession;
	}

	public void setNewSession(Session newSession) {
		this.newSession = newSession;
	}

	public USR getUser() {
		return user;
	}

	public void setUser(USR user) {
		this.user = user;
	}

	public boolean isCreateNewUser() {
		return createNewUser;
	}

	public void setCreateNewUser(boolean createNewUser) {
		this.createNewUser = createNewUser;
	}

}
